package com.zzy.mccjt.autoconfigure.feign;

import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;

/**
 * 配置feign扫描接口包路径
 *
 * @author
 * @version 1.0
 * @date 2019/4/17 16:09
 */
@Slf4j
@Configuration
@EnableFeignClients({"com.zzy.mccjt.**"})
public class FeignClientAutoConfiguration {
    @PostConstruct
    void print() {
        log.info("FeignClientAutoConfiguration load completed.");
    }
}
